<?php
namespace app\index\model;

//导入模型类
use think\Model;

//定义类Staff,继承model类
class Staff extends Model {
    //此处是自定义模型类代码，目前为空
   
    protected function initialize()
    {
        //需要调用`Model`的`initialize`方法
        parent::initialize();
        //TODO:自定义的初始化
         $cars=array("Volvo","BMW","SAAB");
    }
    }    